//
//  TodaySignCell.h
//  sooc-ios_new
//
//  Created by houshijia on 15/12/23.
//  Copyright © 2015年 xuguangChao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SignModel.h"
#define newColor [UIColor colorWithRed:238.0/255 green:238.0/255 blue:238.0/255 alpha:1.0f]

#define normalColor [UIColor colorWithRed:26.0/255 green:151.0/255 blue:233.0/255 alpha:1.0f]

#define colordbdbdb [UIColor colorWithRed:219.0/255 green:219.0/255 blue:219.0/255 alpha:1.0f]
#define colorbdbdbd [UIColor colorWithRed:189.0/255 green:189.0/255 blue:189.0/255 alpha:1.0f]
#define Color1a97e9 [UIColor colorWithRed:26.0/255 green:151.0/255 blue:233.0/255 alpha:1.0f]
#define backColor [UIColor colorWithRed:20.0/255 green:64.0/255 blue:93.0/255 alpha:1.0f]

#define Color1b97e9 [UIColor colorWithRed:27.0/255 green:151.0/255 blue:233.0/255 alpha:1.0f]
#define Colord3d3d3 [UIColor colorWithRed:211.0/255 green:211.0/255 blue:211.0/255 alpha:1.0f]
#define Colorf5f5f5 [UIColor colorWithRed:245.0/255 green:245.0/255 blue:245.0/255 alpha:1.0f]
#define Color333333 [UIColor colorWithRed:51.0/255 green:51.0/255 blue:51.0/255 alpha:1.0f]
/*?
 褐色
 
 */
#define Color999999 [UIColor colorWithRed:153.0/255 green:153.0/255 blue:153.0/255 alpha:1.0f]
#define Color0885d8 [UIColor colorWithRed:8.0/255 green:133.0/255 blue:216.0/255 alpha:1.0f]
#define Color0b8ee5 [UIColor colorWithRed:11.0/255 green:142.0/255 blue:232.0/255 alpha:1.0f]
#define color666666 [UIColor colorWithRed:102.0/255 green:102.0/255 blue:102.0/255 alpha:1.0f]
/**
 
 灰体字
 */
#define Colorb9b9b9 [UIColor colorWithRed:185.0/255 green:185.0/255 blue:185.0/255 alpha:1.0f]
/**
 
 绿色
 */
#define Colorlu [UIColor colorWithRed:59.0/255 green:180.0/255 blue:121.0/255 alpha:1.0f]

#define Color666666 COLOR(102,102,102,1.0f)
@protocol TodaySignCellDelegate <NSObject>

-(void)clickCellSignBtn:(SignModel*)cellModel;

@end

@interface TodaySignCell : UITableViewCell
/*
 ktbh
 ktid		课堂id
 kcmc		课程名称
 lsmc		老师名称
 skdd		上课地点
 ktzt		课堂主题
 qdzt		签到状态（0未签到，1已签到）
 qdri		签到日期（仅历史签到中需要，今日签到该项可以返回空）
 */
@property (strong, nonatomic)  UILabel *kcmcLabel;
@property (strong, nonatomic)  UILabel *ktztLabel;
@property (strong, nonatomic)  UILabel *ktbhLabel;
@property (strong, nonatomic)  UILabel *skddLabel;
@property (strong, nonatomic)  UILabel *lsmcLabel;
@property (strong, nonatomic)  UIButton *signBtn;
@property (strong, nonatomic)  UIImageView *icon;
//
@property (strong ,nonatomic) UIImageView *hasSignedView;
@property (strong ,nonatomic) UILabel *numLabel;

@property (strong, nonatomic)  SignModel *todayModel;
@property (nonatomic,weak) id<TodaySignCellDelegate>delegate;

+(TodaySignCell*)cellWithTableview:(UITableView*)tableview;
@end
